package com.chushouya.manager.dto.admin.clerk;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("新增业务员")
@Data
public class ClerkSaveDTO {

    @ApiModelProperty(value = "姓名", required = true)
    @NotBlank(message = "姓名不能为空")
    private String clerkName;

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String clerkPhone;

    @ApiModelProperty(value = "可服务区域", required = true)
    @NotBlank(message = "可服务区域不能为空")
    private String area;

    @ApiModelProperty(value = "地址", required = true)
    @NotBlank(message = "可服务区域CODE不能为空")
    private String areaCode;

    @ApiModelProperty(value = "地址", required = true)
    @NotBlank(message = "服务城市不能为空")
    private String city;

    @ApiModelProperty(value = "地址", required = true)
    @NotBlank(message = "服务城市CODE不能为空")
    private String cityCode;



    @ApiModelProperty(value = "公司", required = true)
    @NotBlank(message = "公司不能为空")
    private String company;

    @ApiModelProperty("排序, 不填默认为0")
    private Integer sort = 0;

    @ApiModelProperty(value = "状态", required = true)
    @NotNull(message = "状态不能为空")
    private Integer status;

    @ApiModelProperty(value = "可支付渠道", required = false)
    private List<Long> payPartnerIdList;

}
